Skip to content

Fix syntax warnings in Python 3.12+#149

Merged
dontcallmedom merged 2 commits intow3c:mainfrom
hugovk:main
Apr 10, 2025
Merged

Fix syntax warnings in Python 3.12+#149
dontcallmedom merged 2 commits intow3c:mainfrom
hugovk:main

Conversation

@hugovk
Copy link
Copy Markdown
Contributor

@hugovk hugovk commented Apr 4, 2025

Fixes #147.

I fixed the warnings using the Ruff linter.

I also added it to the CI to prevent future regexes with syntax warnings from being added.

Here's an example failing CI run before the fix: https://github.com/hugovk/feedvalidator/actions/runs/14268683576/job/39996616123

And passing with the fix: https://github.com/hugovk/feedvalidator/actions/runs/14268703804

@dontcallmedom
Copy link
Copy Markdown
Member

wow, thank you so much, this is very much appreciated!

@dontcallmedom dontcallmedom merged commit 3114001 into w3c:main Apr 10, 2025
2 checks passed
@hugovk
Copy link
Copy Markdown
Contributor Author

hugovk commented Apr 10, 2025

You're welcome, and thank you for the validator, it's very useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lots of syntax warnings with Python 3.12+

2 participants